import json
def save_outcome(directory ,name):

    path = 'D:/code/handMake/'

    with open(path + directory + '/' + name + '.json', 'r') as load_file:
        outcome = json.load(load_file)
        result = outcome['result']
        print('precision:', result['precision'])
        print('recall:', result['recall'])
        print('pf:', result['pf'])
        print('F-measure:', result['F-measure'])
        print('accuracy:', result['accuracy'])
        print('AUC:', result['AUC'])